import initAjax from '../../axios/index';
let $post = initAjax('post');
export default{
    state:{
       
        meunList:[]
    },
    getters: {
        meunList:state => state.meunList
    },
    mutations: {
        SET_MEUN(state,data){
            console.log(data,'data222')
            state.meunList = data
        },
        
    },
    actions: {
        getMenuList({commit},meunList){
            console.log(meunList,'meunList')
            commit('SET_MEUN',meunList);
        },
       
    }
}